package com.xuecheng.api.interaction;

import com.xuecheng.framework.domain.course.Interaction;
import com.xuecheng.framework.domain.course.request.InteractionRequest;
import com.xuecheng.framework.domain.learning.respones.GetMediaResult;
import com.xuecheng.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * Created by Administrator.
 */
@Api(value = "社交系统",description = "社交系统管理")
public interface InteractionControllerApi {

    @ApiOperation("查询笔记")
    public Interaction getNote(String courseId);

    @ApiOperation("添加笔记")
    public ResponseResult addNote(InteractionRequest interactionRequest);

    @ApiOperation("删除笔记")
    public ResponseResult delNote(String id);

    @ApiOperation("查询问答")
    public Interaction getQuestion(String courseId);

    @ApiOperation("添加问题")
    public ResponseResult addQuestion(InteractionRequest interactionRequest);

    @ApiOperation("删除问题")
    public ResponseResult delQuestion(String id);

    @ApiOperation("回答问题")
    public ResponseResult addAnswer(InteractionRequest interactionRequest);

    @ApiOperation("查询评论")
    public Interaction getTalk(String courseId);

    @ApiOperation("添加评论")
    public ResponseResult addTalk(InteractionRequest interactionRequest);

    @ApiOperation("删除评论")
    public ResponseResult delTalk(String id);


}
